home *** CD-ROM | disk | FTP | other *** search
/ CD Fun House 1 / CD Fun House (Wayzata Technology).iso / •AdventureLand• / Adventures / HyperQuest 1.03 ••• / HyperQuest 1.03 еее / card_26754.txt < prev    next >
Text File  |  1990-10-02  |  7KB  |  332 lines

  1. -- card: 26754 from stack: in.03 –µ–µ–µ
  2. -- bmap block id: 9309
  3. -- flags: 0000
  4. -- background id: 2766
  5. -- name: 
  6. ----- HyperTalk script -----
  7. on openCard
  8.   global chase
  9.   send cardOpened to background
  10.   if chase<>0 then hortaChase
  11. end openCard
  12.  
  13. on move
  14.   global direction,flood,chase,causeOfDeath
  15.   if chase<>0 then
  16.     if direction="up" then
  17.       beep
  18.       answer "You can't go up onto the blasted dam." with "Darn!"
  19.     end if
  20.     put "horta4" into causeOfDeath
  21.     visual wipe up slowly to gray
  22.     go to card id 3409
  23.     exit move
  24.   end if
  25.   if direction = "north" then
  26.     if flood then
  27.       go to card id 29888
  28.     else
  29.       go to card id 29230
  30.     end if
  31.     exit move
  32.   end if
  33.   if direction = "south" or direction = "rear" then
  34.     go to card id 3186
  35.     exit move
  36.   end if
  37.   if direction = "east" then
  38.     go card id 28895
  39.     exit move
  40.   end if
  41.   if direction = "west" then
  42.     if flood then
  43.       go to card id 31445
  44.     else
  45.       go to card id 30913
  46.     end if
  47.     exit move
  48.   end if
  49.   pass move
  50. end move
  51.  
  52.  
  53. on closeCard
  54.   set the cursor to 4
  55.   put "" into field 3
  56. end closeCard
  57.  
  58. on take
  59.   global object,carried
  60.   -- remember to update carried if you do not pass take
  61.   pass take
  62. end take
  63.  
  64. on drop
  65.   global object,dropRoom,carried
  66.   -- remember to update carried if you do not pass drop
  67.   pass drop
  68. end drop
  69.  
  70. on use
  71.   global object,carried
  72.   -- update carried if use results in loss of object
  73.   pass use
  74. end use
  75.  
  76. on hortaChase
  77.   hide card button hortaCover
  78.   put "An angry Horta is hot on your heels!  Don't stop!" into field 3
  79. end hortaChase
  80.  
  81.  
  82.  
  83.  
  84. -- part 16 (button)
  85. -- low flags: 80
  86. -- high flags: 2000
  87. -- rect: left=190 top=195 right=231 bottom=224
  88. -- title width / last selected line: 0
  89. -- icon id / first selected line: 9301 / 9301
  90. -- text alignment: 1
  91. -- font id: 0
  92. -- text size: 12
  93. -- style flags: 0
  94. -- line height: 16
  95. -- part name: knife
  96. ----- HyperTalk script -----
  97. on mouseUp
  98.   global takeFlag,examFlag,object,cardID
  99.   put the name of the target into object
  100.   if takeFlag = true
  101.   then send take to card id cardID
  102. else put "a knife" into field 3
  103. put false into examFlag
  104. end mouseUp
  105.  
  106.  
  107.  
  108. -- part 17 (button)
  109. -- low flags: 80
  110. -- high flags: 2000
  111. -- rect: left=89 top=195 right=231 bottom=123
  112. -- title width / last selected line: 0
  113. -- icon id / first selected line: 1015 / 1015
  114. -- text alignment: 1
  115. -- font id: 0
  116. -- text size: 12
  117. -- style flags: 0
  118. -- line height: 16
  119. -- part name: nodule
  120. ----- HyperTalk script -----
  121. on mouseUp
  122.   global takeFlag,examFlag,object,cardID
  123.   put the name of the target into object
  124.   if takeFlag = true
  125.   then send take to card id cardID
  126. else put "a silicon sphere" into field 3
  127. put false into examFlag
  128. end mouseUp
  129.  
  130.  
  131.  
  132. -- part 18 (button)
  133. -- low flags: 80
  134. -- high flags: 2000
  135. -- rect: left=46 top=139 right=175 bottom=80
  136. -- title width / last selected line: 0
  137. -- icon id / first selected line: 14953 / 14953
  138. -- text alignment: 1
  139. -- font id: 0
  140. -- text size: 12
  141. -- style flags: 0
  142. -- line height: 16
  143. -- part name: ladder
  144. ----- HyperTalk script -----
  145. on mouseUp
  146.   global takeFlag,examFlag,object,cardID
  147.   put the name of the target into object
  148.   if takeFlag = true
  149.   then send take to card id cardID
  150. else put "a rope ladder" into field 3
  151. put false into examFlag
  152. end mouseUp
  153.  
  154.  
  155.  
  156. -- part 20 (button)
  157. -- low flags: 80
  158. -- high flags: 2000
  159. -- rect: left=80 top=104 right=140 bottom=114
  160. -- title width / last selected line: 0
  161. -- icon id / first selected line: 24317 / 24317
  162. -- text alignment: 1
  163. -- font id: 0
  164. -- text size: 12
  165. -- style flags: 0
  166. -- line height: 16
  167. -- part name: key
  168. ----- HyperTalk script -----
  169. on mouseUp
  170.   global takeFlag,examFlag,object,cardID
  171.   put the name of the target into object
  172.   if takeFlag = true
  173.   then send take to card id cardID
  174. else put "a key" into field 3
  175. put false into examFlag
  176. end mouseUp
  177.  
  178.  
  179.  
  180. -- part 21 (button)
  181. -- low flags: 80
  182. -- high flags: 2000
  183. -- rect: left=143 top=88 right=124 bottom=177
  184. -- title width / last selected line: 0
  185. -- icon id / first selected line: 7012 / 7012
  186. -- text alignment: 1
  187. -- font id: 0
  188. -- text size: 12
  189. -- style flags: 0
  190. -- line height: 16
  191. -- part name: gem
  192. ----- HyperTalk script -----
  193. on mouseUp
  194.   global takeFlag,examFlag,object,cardID
  195.   put the name of the target into object
  196.   if takeFlag = true
  197.   then send take to card id cardID
  198. else put "a glowing gem" into field 3
  199. put false into examFlag
  200. end mouseUp
  201.  
  202.  
  203.  
  204. -- part 22 (button)
  205. -- low flags: 80
  206. -- high flags: 2000
  207. -- rect: left=7 top=210 right=246 bottom=41
  208. -- title width / last selected line: 0
  209. -- icon id / first selected line: 23078 / 23078
  210. -- text alignment: 1
  211. -- font id: 0
  212. -- text size: 12
  213. -- style flags: 0
  214. -- line height: 16
  215. -- part name: orb
  216. ----- HyperTalk script -----
  217. on mouseUp
  218.   global takeFlag,examFlag,object,cardID
  219.   put the name of the target into object
  220.   if takeFlag = true
  221.   then send take to card id cardID
  222. else put "a crystal orb" into field 3
  223. put false into examFlag
  224. end mouseUp
  225.  
  226.  
  227.  
  228. -- part 23 (button)
  229. -- low flags: 00
  230. -- high flags: 0000
  231. -- rect: left=214 top=63 right=177 bottom=255
  232. -- title width / last selected line: 0
  233. -- icon id / first selected line: 0 / 0
  234. -- text alignment: 1
  235. -- font id: 0
  236. -- text size: 12
  237. -- style flags: 0
  238. -- line height: 16
  239. -- part name: 
  240. ----- HyperTalk script -----
  241. on mouseUp
  242.   global examFlag,direction,cardID
  243.   if examFlag then
  244.     put "The crystal dam now has a hole blasted through it." into field 3
  245.     put false into examFlag
  246.   else
  247.     put "east" into direction
  248.     send move to card id cardID
  249.   end if
  250. end mouseUp
  251.  
  252.  
  253.  
  254. -- part 33 (button)
  255. -- low flags: 00
  256. -- high flags: 0000
  257. -- rect: left=102 top=44 right=92 bottom=142
  258. -- title width / last selected line: 0
  259. -- icon id / first selected line: 0 / 0
  260. -- text alignment: 1
  261. -- font id: 0
  262. -- text size: 12
  263. -- style flags: 0
  264. -- line height: 16
  265. -- part name: 
  266. ----- HyperTalk script -----
  267. on mouseUp
  268.   global examFlag,direction,cardID
  269.   if examFlag then
  270.     put "a tunnel leading north" into field 3
  271.     put false into examFlag
  272.   else
  273.     put "north" into direction
  274.     send move to card id cardID
  275.   end if
  276. end mouseUp
  277.  
  278.  
  279.  
  280. -- part 34 (button)
  281. -- low flags: 00
  282. -- high flags: 0000
  283. -- rect: left=3 top=85 right=170 bottom=34
  284. -- title width / last selected line: 0
  285. -- icon id / first selected line: 0 / 0
  286. -- text alignment: 1
  287. -- font id: 0
  288. -- text size: 12
  289. -- style flags: 0
  290. -- line height: 16
  291. -- part name: 
  292. ----- HyperTalk script -----
  293. on mouseUp
  294.   global examFlag,direction,cardID
  295.   if examFlag then
  296.     put "a doorway leading west." into field 3
  297.     put false into examFlag
  298.   else
  299.     put "west" into direction
  300.     send move to card id cardID
  301.   end if
  302. end mouseUp
  303.  
  304.  
  305.  
  306. -- part 41 (button)
  307. -- low flags: 00
  308. -- high flags: 0001
  309. -- rect: left=98 top=235 right=261 bottom=143
  310. -- title width / last selected line: 0
  311. -- icon id / first selected line: 0 / 0
  312. -- text alignment: 1
  313. -- font id: 0
  314. -- text size: 12
  315. -- style flags: 0
  316. -- line height: 16
  317. -- part name: hortaCover
  318.  
  319.  
  320. -- part contents for background part 25
  321. ----- text -----
  322. Dam Room
  323. (looking north)
  324.  
  325. -- part contents for background part 24
  326. ----- text -----
  327. You are in the dam room.  There are exits to the north, south, and west.  The east wall is dominated by the shattered remains of a huge crystal dam.  It appears that a large volume of water poured through the hole in the dam and flowed out the west door (at the lowest part of the room).  The floor and walls are still wet.
  328.  
  329.  
  330. -- part contents for background part 36
  331. ----- text -----
  332. 1